<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/common/include.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>主页 | 短信平台</title>
<jsp:include page="/WEB-INF/jsp/common/commonlist.jsp"></jsp:include>
<script type="text/javascript">
	function bodyLoad(){
		activeMenuItem("messageManageItem","sendInfo");
	}
	//提交查询
	function submitForm(pageNo){
		$('#pageNo').attr("value",pageNo);
		$('#form1').submit();
	}
</script>
</head>
<body onload="bodyLoad()">
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="sidebar">
    <div id="sidebar-wrapper">
      <!-- Sidebar with logo and menu -->
      <h1 id="sidebar-title"><a href="#">短信平台</a></h1> 
      <!-- Sidebar Profile links -->
     <!--  页面左上角的部分 -->
     <%@include file="/WEB-INF/jsp/common/leftTop.jsp" %>
     <!-- 页面左侧菜单部分 -->
     <%@include file="/WEB-INF/jsp/common/menu.jsp" %>
    </div>
  </div>
  <!-- End #sidebar -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <noscript>
    <!-- Show a notification if the user has disabled javascript -->
    <div class="notification error png_bg">
      <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
        Download From <a href="http://www.exet.tk">exet.tk</a></div>
    </div>
    </noscript>
    <%@ include file="/WEB-INF/jsp/common/top.jsp" %>
	    <!-- End .shortcut-buttons-set -->
	    <div class="clear"></div>
		    <!-- End .clear -->
		    <div class="content-box">
		      <!-- Start Content Box -->
		      <div class="content-box-header">
        <h3>发送明细</h3>
        <ul class="content-box-tabs">
        </ul>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
        <form action="showSendInfoMxList.do" method="post" id="form1">
           <input type="hidden" name="pageNo" id="pageNo" value="1">
           <input type="hidden" id="fsId" value="${fsId}" name="fsId">
          <table>
            <thead>
              <tr>
                <th>
                  <input class="check-all" type="checkbox" />
                </th>
                <th>发送手机号码</th>
                <th>发送状态</th>
                <th>备注信息</th>
              </tr>
            </thead>
            <tfoot> 
              <tr>
                <td colspan="4">
                  <div class="bulk-actions align-left">
                    <a class="button" href="#" onclick="javascript :history.go(-1);">返回 </a></div>
                  	<div class="pagination" style="font-size: 12px;">  
                  		<a href="#"   onclick= "submitForm(1)">&laquo; 首页</a>
	                	<a href="#"   onclick="submitForm(${result.previousPage })">&laquo; 上一页</a> 
	               		${result.currPage}/${result.pageCount }
	                    <a href="#"  onclick="submitForm(${result.nextPage})"   title="下一页">下一页 &raquo;</a>
	                    <a href="#"  onclick="submitForm(${result.pageCount})">尾页 &raquo;</a> 
	              	</div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
                </td>
              </tr>
            </tfoot>
            <tbody>
            <c:forEach items="${result.result}" var="list">
              <tr>
                <td>
                  <input type="checkbox" /> 
                </td>
                <td><fmt:formatNumber value="${list.phoneNumber}" pattern="0"/></td>
                <td>${list.state}</td>
                <td>${list.note}</td>
              </tr>
            </c:forEach>
            </tbody>
          </table>
         </form>
        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>
    <!-- End .content-box -->
    <div class="clear"></div>
    <%@ include file="/WEB-INF/jsp/common/copyright.jsp" %>
  </div>
  <!-- End #main-content -->
</div>
</body>
</html>